package com.itheima.reggie.service;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.domain.Dish;
import com.itheima.reggie.dto.DishDto;


public interface DishService extends IService<Dish> {
    //新增菜品,同时插入口味数据
    public void saveWithFlavor(DishDto dishDto);
    //根据id查询菜品信息和对应的口味信息
    public DishDto getByIdWithFlavor(Long id);
    //修改菜品信息和对应的口味信息
    public void updateWithFlavor(DishDto dishDto);
    /*//逻辑删除
    public DishDto deleteByIds(Long ids);*/
}
